import {Shop} from "../shop/shop.actions";

export namespace Cart {
  export class Get {
    static readonly type = '获取cart'
  }

  export class Add {
    static readonly type = '添加cart'

    constructor(public payload: Shop) {
    }
  }

  export class Remove {
    static readonly type = '移除cart'

    constructor(public id: number) {
    }
  }

}
